package com.jerry.security;

import com.jerry.security.qq.QQProperties;
import com.jerry.security.weixin.WeixinProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "com.jerry.security.social")
public class SocialConfigProperties {
	
	private String filterProcessesUrl = "/auth";

	// QQ属性
	private QQProperties qq = new QQProperties();
	// 微信属性
	private WeixinProperties weixin = new WeixinProperties();

	public String getFilterProcessesUrl() {
		return filterProcessesUrl;
	}
	public void setFilterProcessesUrl(String filterProcessesUrl) {
		this.filterProcessesUrl = filterProcessesUrl;
	}

	public QQProperties getQq() {
		return qq;
	}
	public void setQq(QQProperties qq) {
		this.qq = qq;
	}

	public WeixinProperties getWeixin() {
		return weixin;
	}
	public void setWeixin(WeixinProperties weixin) {
		this.weixin = weixin;
	}
	
}
